<div class="pageHeader">
   <div  style="float:left">
    <div id="nodeInfo"  >
			<div class="unit">
				<label>监测点基本信息：</label>
			</div>
		<table class="nodeInfo">
			<tbody>
			<tr>
				<td width="220" height="35">监测点名称：宝骏猪场大门口</td>
				<td width="420" height="35">监测点地址：广州市阳江阳东区阳东宝骏畜禽养殖有限公司</td>
			</tr>
			<tr>
				<td width="220" height="35">监测目标：猪只</td>
				<td width="220" height="35">监测点坐标：[112.176427,21.901359]</td>
			</tr>
			<tr>
			    <td width="120" height="35">节点状态：正常</td>
				<td width="220" height="35">创建日期：2015-3-20</td>
			</tr>
			<tr>
			    <td width="120" height="35"><button onclick="init();">开始</button></td>
				<td width="220" height="35"><button onclick="Stop();">停止</button></td>
			</tr>
		  </tbody>
		</table>

	</div>

	</div>
</div>

<div  class="pageContent">
			<div style="background-color:red;">
			<!--
			<object classid='clsid:E7EF736D-B4E6-4A5A-BA94-732D71107808' codebase='' standby='Waiting...' id='PreviewActiveX' width='800px' height='600px' name='ocx' align='center' >
			<param name='wndtype' value='1'>
			<param name='playmode' value='0'>
			</object>
			-->

			<embed type='application/hwp-webvideo-plugin' id='PreviewActiveX' width='840px' height='700px' name='PreviewActiveX' align='center' wndtype='1' playmode='0'>
			</embed>
		</div>
	
</div>

		<script language="javascript" type="text/javascript">
			var Netocx;
			
			function Play() {
				var i;
				//rtsp://192.168.8.164:554/PSIA/streaming/channels/101
				var szURL = "rtsp://admin:12345@218.15.136.130:554/Streaming/Channels/602";
				var UserID = Netocx.HWP_Play(szURL, "YWRtaW46MTIzNDU=", 0, "", "");
				//alert("UserID:"+UserID);
			}

			function Stop() {
				var Netocx = document.getElementById("PreviewActiveX");
				Netocx.HWP_Stop(0);//0是通道号
			}

			function init() {
				Netocx = document.getElementById("PreviewActiveX");
				setTimeout(Play, 100);
				//Play();
			}

		</script>